mkdir p option
CreatetheDIRECTORY(ies),iftheydonotalreadyexist.Mandatoryargumentstolongoptionsaremandatoryforshortoptionstoo.,Thecommandwillcreateallthedirectoriesnecessariestofulfillyourrequest,notreturninganyerrorincasethatdirectoryexists.,This-pflagallowsapa...
Thecommandwillcreateallthedirectoriesnecessariestofulfillyourrequest,notreturninganyerrorincasethatdirectoryexists.
** 本站引用參考文章部分資訊,基於少量部分引用原則,為了避免造成過多外部連結,保留參考來源資訊而不直接連結,也請見諒 **
此文章參考的來源相關文章推薦
mkdir(1): make directories
Create the DIRECTORY(ies), if they do not already exist. Mandatory arguments to long options are mandatory for short options too.
mkdir's -p option
The command will create all the directories necessaries to fulfill your request, not returning any error in case that directory exists.
Linux mkdir 指令
建立目錄指令mkdir (make directories),預設一次只能建一層的目錄,選項mkdir -p 才可一次建好幾層的目錄,基本用法為mkdir COMMAND。 例: $ mkdir project ←建立目錄〝 ...
mkdir Command
-p, Creates missing intermediate path name directories. If the -p flag is not specified, the parent directory of each-newly created directory must already exist ...
建立目錄(mkdir 指令)
-p 旗標會建立/home、/home/demo 及/home/demo/sub2 目錄(如果這些目錄不存在的話)。 請參閱Commands Reference, Volume 3 中的mkdir 指令,以取得完整語法。
mkdir -- 建立目錄指令
-p, –parents: 如果建立新目錄的上層目錄不存在,會自動建立。另外如果加上這個參數,如果建立目錄已經存在,不會報錯。 -v, –verbose: 印出建立目錄的講 ...
Linux mkdir -p command
With the help of mkdir -p command you can create sub-directories of a directory. It will create parent directory first, if it doesn't exist.
mkdir
-p : 以路徑名格式指定目錄名,如果路徑名中的目錄不存在,便會新建一個。 · -v :顯示mkdir建立的每個目錄。通常與 -p 配合使用。 · -m :指定目錄的檔案權限。